home *** CD-ROM | disk | FTP | other *** search
- #VRML V2.0 utf8
-
-
-
- EXTERNPROTO Toss [
- field MFNode objectShape
- exposedField SFTime cycleInterval
- exposedField SFTime startTime
- exposedField SFTime stopTime
- exposedField SFBool enabled
- exposedField SFBool loop
- exposedField MFFloat key
- exposedField MFVec3f keyValue
- ] "Toss.wrl"
-
-
-
-
- # Insert the moving shapes
-
- Transform {
- translation 3.5 0 0
- children [
- Toss {
- objectShape [
- Transform {
- translation -1 0 0
- rotation .71 0 .71 .5
- children [
- Shape {
- appearance Appearance {
- material Material {
- diffuseColor 1 0 0
- }
- }
- geometry Box {
- size .7 .7 .7
- }
- }
- ]
- }
- ]
- cycleInterval 3
- enabled TRUE
- loop TRUE
- startTime 1
- }
-
-
- Toss {
- objectShape [
- Transform {
- translation .2 .2 0
- children [
- Shape {
- appearance Appearance {
- material Material {
- diffuseColor 0 .8 0
- }
- }
- geometry Sphere {
- radius .4
- }
- }
- ]
- }
- ]
- cycleInterval 5
- enabled TRUE
- loop TRUE
- startTime 1
- }
-
- Toss {
- objectShape [
- Transform {
- translation 1 0 0
- rotation .71 0 .71 -.40
- children [
- Shape {
- appearance Appearance {
- material Material {
- diffuseColor 0 0 1
- }
- }
- geometry Cone {
- bottomRadius .4
- height .7
- }
- }
- ]
- }
- ]
- cycleInterval 4
- enabled TRUE
- loop TRUE
- startTime 1
- }
- ]
- }
-
-
-